package org.xidian.note.controller.note;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.xidian.note.entity.NoteResult;
import org.xidian.note.service.NoteService;
@Controller
@RequestMapping("/note")
public class HighSearchController {
   @Resource
   private NoteService noteService;
   @ResponseBody
   @RequestMapping("/hightSearch.do")
   public NoteResult execute(String title, String status, String begin, String end){
	   NoteResult result=noteService.dynamicQuery(title, status, begin, end);
	   return result;
   }
}
